package com.douwong.student.model;

import java.io.Serializable;
import java.util.List;

/**
 * @autor yichao
 * @time 2016/10/279:15
 * @des发布测验题
 */

/**
 * prepareId : 407
 * id : 541
 * title : 加一个测验
 * totalScore : 28.0
 * count : 4
 * topicItem : [{"id":1378,"topicType":{"itemType":1,"typeName":"单选题"},"body":"工工aaaa＄ffffffffffffffffffffffffffffffffffffffffaaaaaaaaaaaaaa<img src=\"092C7A34D6A54D5C6100DD4939F2205C.png\">","options":[{"Key":"A","Value":"<img src=\"EBBAA8676B8386AFEDE48EB0DE8DFB43.jpg\">"},{"Key":"B","Value":"dddddddddddd"},{"Key":"C","Value":"aaaaaaaaaaaaaaa"},{"Key":"D","Value":"cccccccccccccccccccccccccccccc"}],"score":2,"answers":["B"],"analysis":"fffffffffffffffffffffffffffffffffffffffffffffffffaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"},{"id":1379,"topicType":{"itemType":2,"typeName":"多选题"},"body":"答案是A和C<img src=\"138070AE3FDC44EDFB636993378745D7.jpg\">","options":[{"Key":"A","Value":"a"},{"Key":"B","Value":""},{"Key":"C","Value":"c"},{"Key":"D","Value":"d"}],"score":3,"answers":["A","C"],"analysis":""},{"id":1380,"topicType":{"itemType":3,"typeName":"填空题"},"body":"魂牵梦ddddddddddddddddddddddddddddddddddddddddd萦fsdaabaaaaadd___ddddddddddaaaaaaaaaaaaaaa<img src=\"E1F29D1268C37E88F10A2E2E3795F3EF.jpg\">","options":[],"score":20,"answers":["ff"],"analysis":"答案是ff"},{"id":1381,"topicType":{"itemType":15,"typeName":"判断题"},"body":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa<img src=\"0071B6467B7D740CF0BCFE9967858A08.jpg\">","options":[{"Key":"A","Value":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"},{"Key":"B","Value":""}],"score":3,"answers":["A"],"analysis":""}]
 */

public  class ResTestProblemsInfo implements Serializable {

    /**备课Id*/
    private int prepareId;
    /**测验id*/
    private int id;
    /**标题*/
    private String title;
    /**总分*/
    private double totalScore;
    /**题目总数*/
    private int count;
    /**
     * id : 1378
     * topicType : {"itemType":1,"typeName":"单选题"}
     * body : 工工aaaa＄ffffffffffffffffffffffffffffffffffffffffaaaaaaaaaaaaaa<img src="092C7A34D6A54D5C6100DD4939F2205C.png">
     * options : [{"Key":"A","Value":"<img src=\"EBBAA8676B8386AFEDE48EB0DE8DFB43.jpg\">"},{"Key":"B","Value":"dddddddddddd"},{"Key":"C","Value":"aaaaaaaaaaaaaaa"},{"Key":"D","Value":"cccccccccccccccccccccccccccccc"}]
     * score : 2.0
     * answers : ["B"]
     * analysis : fffffffffffffffffffffffffffffffffffffffffffffffffaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
     */
    /**题目库*/
    private List<TopicItemBean> topicItem;


    public int getPrepareId() {
        return prepareId;
    }

    public void setPrepareId(int prepareId) {
        this.prepareId = prepareId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public double getTotalScore() {
        return totalScore;
    }

    public void setTotalScore(double totalScore) {
        this.totalScore = totalScore;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public List<TopicItemBean> getTopicItem() {
        return topicItem;
    }

    public void setTopicItem(List<TopicItemBean> topicItem) {
        this.topicItem = topicItem;
    }

    public static class TopicItemBean {
        /**题目ID*/
        private int id;
        /**
         * itemType : 1
         * typeName : 单选题
         */

        /**题目类型*/
        private TopicTypeBean topicType;
        /**题目主体*/
        private String body;
        /**此题分数*/
        private double score;
        /**答案分析*/
        private String analysis;
        /**
         * Key : A
         * Value : <img src="EBBAA8676B8386AFEDE48EB0DE8DFB43.jpg">
         */
        /**选项*/
        private List<OptionsBean> options;
        /**答案*/
        private List<String> answers;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public TopicTypeBean getTopicType() {
            return topicType;
        }

        public void setTopicType(TopicTypeBean topicType) {
            this.topicType = topicType;
        }

        public String getBody() {
            return body;
        }

        public void setBody(String body) {
            this.body = body;
        }

        public double getScore() {
            return score;
        }

        public void setScore(double score) {
            this.score = score;
        }

        public String getAnalysis() {
            return analysis;
        }

        public void setAnalysis(String analysis) {
            this.analysis = analysis;
        }

        public List<OptionsBean> getOptions() {
            return options;
        }

        public void setOptions(List<OptionsBean> options) {
            this.options = options;
        }

        public List<String> getAnswers() {
            return answers;
        }

        public void setAnswers(List<String> answers) {
            this.answers = answers;
        }


    }
}







